package com.poc.oauth.resources.model;

public class Account {
    private String type;
    private String number;
    private String name;
    private long amount;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getAmount() {
        return amount;
    }

    public void setBalance(long amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "Account{" +
                "type='" + type + '\'' +
                ", number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", amount=" + amount +
                '}';
    }
}
